package cn.yanjr.system.service.impl;

import java.util.List;
import java.util.Map;

import cn.yanjr.common.bean.BeanFactory;
import cn.yanjr.system.dao.SysDictDao;
import cn.yanjr.system.dao.SysMenuDao;
import cn.yanjr.system.entity.SysMenu;
import cn.yanjr.system.service.SysMenuService;

public class SysMenuServiceImpl implements SysMenuService{
	
	private SysMenuDao sysMenuDao = BeanFactory.getBean("sysMenuDao", SysMenuDao.class);;

	@Override
	public Map<String, Object> queryPage(Map<String, Object> param) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public SysMenu get(String id) {
		return sysMenuDao.findOne(id);
	}

	@Override
	public List<SysMenu> findAllMenu() {
		return sysMenuDao.findAll();
	}

}
